html{
    color: #000;
    background: #FFF;
}
html, body {
    height: 100%;
    width: 100%;
    min-width: 100%;
}
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form,
fieldset, legend, input, textarea, p, blockquote, th, td {
    margin: 0;
    padding: 0;
}
table{
    border-collapse: collapse;
    border-spacing: 0;
}
fieldset, img {
    padding: 0;
    margin: 0;
    border: 0;
}
abbr, address, acronym, caption, cite, code, dfn, em, strong, th, var {
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
}
li {
    list-style: none;
}
caption,th{
    text-align: left;
}

q:before, q:after {content:'';}

header, footer, section, aside, nav {
    position: relative;
    display: block;
    padding: 0;
    margin: 0;
}
/* --- General typography --- */
strong, dt { font-weight: bold; }
em { font-style: italic; }
del { text-decoration: line-through; }
abbr, acronym { border: 0; border-bottom: 1px dotted #000; cursor: help; }
sup { vertical-align: super; }
sub { vertical-align: sub; }
pre, code, kbd, samp, tt { font-family: 'Droid Sans Mono', 'Lucida Console', 'Bitstream Vera Sans Mono', monospace; }

/* --- Links --- */
a { text-decoration: underline; }
a:link, a:visited { color: #3366CC; }
a:active, a:hover { color: #CC0000; }
:focus { outline: 0; }

/* --- Headings --- */
h1, h2, h3, h4, h5, h6 { font-weight: normal; margin: 0 0 .5em;  }
h1 { font-size: 24px; }
h2 { font-size: 22px; }
h3 { font-size: 20px; }
h4 { font-size: 18px; }
h5 { font-size: 16px; }
h6 { font-size: 14px; }

/* --- Other block elements --- */
p, fieldset, table, pre { margin: 0 0 1em; }
blockquote, ul, ol, dl { margin: 0 0 1em 1em; }
ol, ul, dl { padding-left: .5em; list-style-position outside; }
blockquote {
    background: #F0F0F0;
    padding: 1em;
    border: 1px solid #D9D9D9;
    border-width: 1px 0;
}
hr {
    border: 1px solid #CCCCCC;
    border-width: 1px 0 0;
}

/* --- Forms --- */
input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
}
input, textarea, select {
    *font-size: 100%;
}
legend {
    color: #000000;
}

/* Hacks */
.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
.clearfix { display: inline-block; }
/* IE */
.clearfix { *zoom: 1; *display: block; }
/* Opera \*/
* html .clearfix { height:1%; }
.clearfix { display:block; }
/* end Opera */
